package com.huang.Service.ServiceImpl;

import com.huang.Pojo.Product;
import com.huang.Service.Feign;
import org.springframework.stereotype.Service;

@Service
public class FeignClientConfig implements Feign {
    @Override
    public Product product(Integer pid) {
        Product product = new Product();
        product.setPid(500);
        product.setPname("微服务调用失败，返回的是FallBack方法...");
        return product;
    }
}
